package com.song.service;

import com.song.pojo.Floor;
import com.song.vo.FloorVo;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2020/12/21 - the current system date.
 * 16:34 - the current system time.
 */
public interface FloorService {
    /**
     * 查询楼层列表
     * @param floorVo
     * @return
     */
    List<Floor> findFloorList(FloorVo floorVo);

    /**
     * 添加楼层
     * @param floor
     * @return
     */
    int addFloor(Floor floor);


    /**
     * 修改楼层
     * @param floor
     * @return
     */
    int updateFloor(Floor floor);
}
